package com.itbaizhan.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author spf
 * @date 2024/2/6
 * @time 22:54
 */

/**
 * 远程调用openfeign
 */
@FeignClient("CLOUD-PROVIDER-PAYMENT")
public interface PaymentService {

    @GetMapping("/payment/timeout")
    public String timeout();

    @GetMapping("/payment/index")
    public String index();

}
